package deepbrain.simnetwork.monitor;

import deepbrain.simnetwork.task.Task;

/**
 * 
 * 
 * @author Li Yang
 * @create 2009-2-24
 */
public class MonitorAdapter<TaskType extends Task> implements Monitor<TaskType> {

	protected boolean useOnce = false;

	public MonitorAdapter() {
	}

	public MonitorAdapter(boolean useOnce) {
		this.useOnce = useOnce;
	}

	public void onStepFinish(TaskType task) {
	}

	public void onTaskFinish(TaskType task) {
	}

	public void onTaskStart(TaskType task) {
	}

	public boolean useOnce() {
		return useOnce;
	}

}
